#include <signal.h>
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;

static void Usage(string proc)
{
    cout << "Usage:\r\n\t" << proc << " signum processpid" << endl;
}

int main(int argc, char *agrv[])
{
    if (argc != 3)
    {
        Usage(agrv[0]);
        exit(1);
    }

    int signum = atoi(agrv[1]);
    int processpid = atoi(agrv[2]);
    kill(signum, processpid);

    return 0;
}